//
//  CIBNCategoryMenuView.h
//  CIBN
//
//  Created by ZNGOO on 16/7/21.
//  Copyright © 2016年 韦儒健. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CIBNCategoryMenuView;
// 代理
@protocol CIBNCategoryMenuViewDelegte <NSObject>
/**
 *  点击
 *
 *  @param index 菜单下标 (tag == 100 为点击所有按钮)
 */
- (void)didSelectItemIndex:(NSUInteger)index;

@end

@interface CIBNCategoryMenuView : UIView <UIScrollViewDelegate>

@property (nonatomic,assign) id<CIBNCategoryMenuViewDelegte> delegate;

@property (nonatomic,strong) UIScrollView * scrollView;

- (void)setScrollViewItemsArray:(NSArray *)items;
@end
